package com.sanyang.lawyer.service.finance;

import com.sanyang.lawyer.entity.Finance_pay;
import com.sanyang.lawyer.mapper.finance.Finance_payMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: lawyer
 * @description: 支付方式
 * @author: lql
 * @create: 2019-10-12 10:19
 **/
@Service
public class Finance_payService {

        @Autowired
        private Finance_payMapper finance_payMapper;

        //查询全部
        public List<Finance_pay> list(){
            return finance_payMapper.list();
        }

        //查询一个单表
        public Finance_pay getbyId(int payId){
                return finance_payMapper.getbyId(payId);
        }

}
